package com.ruoyi.community.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 社区电商对象 ec_activity
 * 
 * @author ruoyi
 * @date 2021-08-15
 */
public class EcActivity extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Integer activityId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long restaurantId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Integer total;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Integer minus;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private float off;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Integer communityId;

    public void setActivityId(Integer activityId) 
    {
        this.activityId = activityId;
    }

    public Integer getActivityId()
    {
        return activityId;
    }
    public void setRestaurantId(Long restaurantId)
    {
        this.restaurantId = restaurantId;
    }

    public Long getRestaurantId()
    {
        return restaurantId;
    }
    public void setTotal(Integer total) 
    {
        this.total = total;
    }

    public Integer getTotal() 
    {
        return total;
    }
    public void setMinus(Integer minus) 
    {
        this.minus = minus;
    }

    public Integer getMinus() 
    {
        return minus;
    }
    public void setOff(float off)
    {
        this.off = off;
    }

    public float getOff()
    {
        return off;
    }
    public void setCommunityId(Integer communityId) 
    {
        this.communityId = communityId;
    }

    public Integer getCommunityId() 
    {
        return communityId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("activityId", getActivityId())
            .append("restaurantId", getRestaurantId())
            .append("total", getTotal())
            .append("minus", getMinus())
            .append("off", getOff())
            .append("communityId", getCommunityId())
            .toString();
    }
}
